#ifndef	_MEMBLOCK_H_
#define	_MEMBLOCK_H_

#include <qwidget.h>
#include <qpainter.h>

class MemBlock : public QWidget
{

public:
	MemBlock(QWidget* parent = 0);

	QSize minimumSizeHint() const;
	QSize sizeHint() const;
	void AddNode(int nBase, int nLim, int nPID);

protected:
	void paintEvent(QPaintEvent* event);

private:
	int	m_nPID;
	QRect rectNode;
};
#endif //_MEMBLOCK_H_
